let KeyBoard = () => {
  document.addEventListener("keydown", KeyBoardDown);
};

let KeyBoardDown = (event) => {
  console.log(event.keyCode);
  switch (event.keyCode) {
    case 37: // Left
      break;
    case 38: // Up
      break;
    case 39: // Right
      break;
    case 40: // Down
      break;
  }
  return false;
};

export default KeyBoard;
